package com.xu.crawler.config.timeWaitingStrategy;

/**
 * Created by clear on 2018/7/10.
 */
public interface TimeWaitingStrategy {
    /**
     * 等待逻辑
     *
     * @param loopTime 循环到loopTime次
     */
    void waiting(int loopTime);

    /**
     * 最多重试次数
     */
    int retryTimes();
}
